export default [
  {
    url: '/mock/manage/user/page',
    method: 'post',
    timeout: 1000,
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: {
          records: [
            {
              id: 1,
              username: 'admin',
              password: '$2a$10$lbpXb6YzzqdnIw0naHGZkOS0qMMBMUjm7IXG6UYQUmlW65DQS.vTy',
              deptId: 1,
              deptName: 'Harry科技',
              postIds: [],
              icon: 'http://localhost:9090/harry/20250110/2baf828d871e490a9ea1ecf19fc9a01b.png',
              email: '183865800@qq.com',
              phone: '16666666666',
              nickName: 'Harry',
              sex: '1',
              note: null,
              status: '1',
              loginTime: 1732094753000,
              loginIp: '192.168.31.7',
              createTime: '2019-09-29 13:55:30',
              createBy: null,
              modifyTime: '2025-03-14 22:30:40',
              modifyBy: 'admin',
              valid: 1,
              roleIds: null,
              type: 0
            }
          ],
          total: 1,
          size: 20,
          current: 1,
          pages: 1
        }
      };
    }
  },
  {
    url: '/mock/manage/user/edit',
    method: 'post',
    timeout: 1000,
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: {
          records: [
            {
              id: 1,
              username: 'admin',
              password: '$2a$10$lbpXb6YzzqdnIw0naHGZkOS0qMMBMUjm7IXG6UYQUmlW65DQS.vTy',
              deptId: 1,
              deptName: 'Harry科技',
              postIds: [],
              icon: 'http://localhost:9090/harry/20250110/2baf828d871e490a9ea1ecf19fc9a01b.png',
              email: '183865800@qq.com',
              phone: '16666666666',
              nickName: 'Harry',
              sex: '1',
              note: null,
              status: '1',
              loginTime: 1732094753000,
              loginIp: '192.168.31.7',
              createTime: '2019-09-29 13:55:30',
              createBy: null,
              modifyTime: '2025-03-14 22:30:40',
              modifyBy: 'admin',
              valid: 1,
              roleIds: null,
              type: 0
            }
          ],
          total: 1,
          size: 20,
          current: 1,
          pages: 1
        }
      };
    }
  },
  {
    url: '/mock/manage/user/add',
    method: 'post',
    timeout: 1000,
    response: () => {
      return {
        code: 200,
        message: '操作成功',
        data: null
      };
    }
  }
];
